'use strict';
/**
 * @params {}
 * @bussiness {书库分类栏}
 * @author JC
 * @date 2022-08-15
 * **/
const Controller = require('egg').Controller;
class GetCategory extends Controller {
    async getCate(){
        const {ctx} = this
        let result = await ctx.service.cate.getCategory()
        ctx.body = {
            msg:200,
            data:result
        }
    }
}
module.exports = GetCategory;